From 145eb9d4f97191eb7d09df5ec05401142d8da70d Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 3 Jul 2006 01:36:14 +0000 Subject: [PATCH] Remove C99-ism from gbser_posix.c --- gpsbabel/gbser_posix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpsbabel/gbser_posix.c b/gpsbabel/gbser_posix.c index 0aec64128..2f4cd8836 100644 --- a/gpsbabel/gbser_posix.c +++ b/gpsbabel/gbser_posix.c @@ -137,8 +137,9 @@ gbser_read(void *handle, char *ibuf, int size) char *c; char tbuf[256]; char *tp = tbuf; -ibuf[0] = 0; gbser_posix_handle *h = (gbser_posix_handle *) handle; + + ibuf[0] = 0; assert(h->magic == MYMAGIC); // n = read(h->fd, ibuf, size); -- 2.30.2